From 727bdd1929a55e6758f9ad97cd9ce3d96bd57c30 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 21 Oct 2014 20:30:07 +0200 Subject: [PATCH] inspector: Add missing directory when scanning for themes --- gtk/inspector/visual.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/inspector/visual.c b/gtk/inspector/visual.c index acd3c8e05f..9e97501bad 100644 --- a/gtk/inspector/visual.c +++ b/gtk/inspector/visual.c @@ -219,6 +219,10 @@ init_theme (GtkInspectorVisual *vis) fill_gtk (path, t); g_free (path); + path = g_build_filename (g_get_home_dir (), "themes", NULL); + fill_gtk (path, t); + g_free (path); + settings = g_settings_new ("org.gnome.desktop.interface"); current_theme = g_settings_get_string (settings, "gtk-theme"); g_object_unref (settings); -- 2.30.2